package pl.com.like.sequoia.biojava.genbank;

import org.biojava.bio.BioException;
import org.biojava.bio.seq.db.IllegalIDException;
import org.biojavax.bio.seq.RichSequence;

import pl.com.like.sequoia.biojava.util.IConnectService;
import pl.com.like.sequoia.model.bio.enums.FileTypeEnum;

@Deprecated
public interface IGenbankService extends IConnectService {

	/**
	 * Get information about protein from GenBank on base GenBank GI.
	 * 
	 * @param giNumber given GI number
	 * @param type type of returned file
	 * @throws BioException
	 * @throws IllegalIDException
	 */
	public abstract RichSequence getInfo(String giNumber, FileTypeEnum type) throws IllegalIDException, BioException;

	// TODO dodac mozliwosc wpisania do bazy danych wlasnego ciagu dna/rna/protein
	// http://www.biojava.org/wiki/BioJava:Cookbook:SeqIO:WriteInFasta
	// http://www.biojava.org/wiki/BioJava:Cookbook:Sequence

}